package com.zpp.wedding_admin.service;

import com.zpp.wedding_admin.entity.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 朱盼盼
 * @since 2022-12-29
 */
public interface IOrderService extends IService<Order> {

    boolean addOrder(Integer userId, Integer activityId);

    List<Order> getOrderList(Integer id);

    Map<String, Object> getByPage(Long currentPage, Long size);
}
